// Widgets/PetTravelDetail/PetTravelDetailPictureContentWidget/PetTravelDetailPictureContentWidget.js
const app = getApp();
Component({

  /**
   * 组件的属性列表
   */
  properties: {
    pictureCont: {
      type: String,
    },
    goods: {
      type: Object,
    },
  },

  /**
   * 组件的初始数据
   */
  data: {
    bar_Height: app.globalData.CustomBar,
    statusBarHeight: wx.getSystemInfoSync().statusBarHeight,
  },

  /**
   * 组件的方法列表
   */
  methods: {
    back(){
      this.triggerEvent('showPicCont',)
    },
    // 立即购买
    buy(){
      this.triggerEvent('buy',)
    },
  }
})